﻿<%@ Page Language="C#" ValidateRequest="false" Inherits="FrontBasePage" %>
<%@ Import Namespace="Whir.Framework" %>
<%@ Import Namespace="Whir.Service" %>
<%@ Import Namespace="Whir.Label" %>
<script type="text/C#" runat="server">
/*

 *描述： 本文件由ezEIP模板发布引擎生成，请勿直接更改此文件！！ 

 *模板路径：C:\Z_中濠酒店集团（深圳）有限公司\pc\template\会员权益.shtml

 *生成时间：2020-06-18 17:20:25

 */

public Whir.Domain.Column PageColumn ; 
public Whir.Domain.SiteInfo PageSiteInfo ; 
public string columnid=""; 
protected void Page_Load(object sender, EventArgs e){
    columnid=Server.UrlDecode(RequestUtil.Instance.GetQueryString("columnid"));

 
    PageColumn = ServiceFactory.ColumnService.SingleOrDefault<Whir.Domain.Column>(120);
    PageSiteInfo = ServiceFactory.SiteInfoService.SingleOrDefault<Whir.Domain.SiteInfo>(2);
    Whir.Label.LabelHelper.Instance.SerColumnAndSiteInfoToChildControl(this, PageSiteInfo, PageColumn); 
    DataBind();
}
</script><!DOCTYPE html>
<html lang="zh-cn">
<head>
<!-- head Start-->
<wtl:include runat="server"      filename="head.html"></wtl:include>
<!-- head end -->
<wtl:Menu runat="server"  columnid='<%#PageColumn.ColumnId.ToInt()%>' OnlyOne="true"><ItemTemplate>
<script type="text/javascript">
   //定义栏目ID
   var navID = '<%# Container.DataRow["ColumnId"].ToReplace() %>';
</script>
</ItemTemplate></wtl:Menu>
<link rel="alternate" href="<%=Whir.Service.ServiceFactory.SiteInfoService.GetSitePath(PageSiteInfo)%>css/feature_carousel.css">
<script src="<%=Whir.Service.ServiceFactory.SiteInfoService.GetSitePath(PageSiteInfo)%>scripts/feature_carousel.min.js"></script>

<link rel="stylesheet" href="../css/owl.carousel.min.css">
<script src="../scripts/owl.carousel.min.js"></script>

</head>
<body>
<!--top-->
<wtl:include runat="server"       filename="top.html"></wtl:include>
<!--top End-->

<div class="Banner">
	<!--banner-->
	<wtl:include runat="server"      filename="banner.html"></wtl:include>
	<!--banner End-->
	<!--top-->
	<wtl:include runat="server"      filename="title.html"></wtl:include>
	<!--top End-->
</div>
<script>
var wh=$(window).outerHeight(true);
$('.Banner').height($(window).outerHeight(true));
setTimeout(function(){
	$('.Banner').addClass('active');
},300);
</script>
<!-- banner -->
<div class="Main Member">
	<div class="MemberBg">
		<div class="w1200">
			<div class="MemberList">

				<div id="MemberLb">
					<wtl:Category runat="server"  ParentID="0" columnid='<%#PageColumn.ColumnId.ToInt()%>' order="sort asc,createdate desc"><ItemTemplate>
				    <div class="carousel-feature">
				      <a href="javascript:;" class="imgbox">
					      	<div class="img">
					      		<img src="<%=Whir.ezEIP.Web.SysManagePageBase.Insten.UploadFilePath %><%# Container.DataRow["ImageUrl"].ToReplace() %>" alt='<%# Container.DataRow["categoryname"].ToReplace() %>'>
					      	</div>
					   </a>
				    </div>
					</ItemTemplate></wtl:Category>
				</div>
				<div class="MemCon Pfsc">
					<wtl:Category runat="server"  ParentID="0" columnid='<%#PageColumn.ColumnId.ToInt()%>' order="sort asc,createdate desc"><ItemTemplate>
					<div class="Item">
						<div class="title">
							<h3 class="h3"><%# Container.DataRow["categoryname"].ToReplace() %>基本权益</h3>
						</div>
						<ul class="ul">
							<wtl:list runat="server"  nulltip="" needpage="false" where="IsDel=0" order="sort asc,createdate asc" categoryid='<%# Container.DataRow["whir_U_content_category_PID"].ToReplace() %>'><ItemTemplate>
							<li>
								<div class="libox">
									<div class="icon"><img src="<%=Whir.ezEIP.Web.SysManagePageBase.Insten.UploadFilePath %><%# Container.DataRow["ImageUrl"].ToReplace() %>" alt='<%# Container.DataRow["Title"].ToReplace() %>'></div>
									<h3 class="h3"><%# Container.DataRow["Title"].ToReplace() %></h3>
									<div class="txt">
										<%# Container.DataRow["BriefIntroduction"].ToReplace() %>
									</div>		
								</div>
							</li>
							</ItemTemplate></wtl:list>							
						</ul>
					</div>
					</ItemTemplate></wtl:Category>
				</div>				
			</div>

			<div class="wap-memberList">


				<div class="owl-carousel owl-theme">
					<wtl:Category runat="server"  ParentID="0" columnid='<%#PageColumn.ColumnId.ToInt()%>' order="sort asc,createdate desc"><ItemTemplate>
						<div class="list">
							<img src="<%=Whir.ezEIP.Web.SysManagePageBase.Insten.UploadFilePath %><%# Container.DataRow["ImageUrl"].ToReplace() %>" alt='<%# Container.DataRow["categoryname"].ToReplace() %>'>
						</div>
					</ItemTemplate></wtl:Category>
				</div>

				<div class="wap-items">
					<wtl:Category runat="server"  ParentID="0" columnid='<%#PageColumn.ColumnId.ToInt()%>' order="sort asc,createdate desc"><ItemTemplate>
						<div class="Item">
							<div class="title">
								<h3 class="h3"><%# Container.DataRow["categoryname"].ToReplace() %>基本权益</h3>
							</div>
							<div class="wap-icon">
								<wtl:list runat="server"   nulltip="" needpage="false" where="IsDel=0" order="sort asc,createdate asc" categoryid='<%# Container.DataRow["whir_U_content_category_PID"].ToReplace() %>'><ItemTemplate>
									<div class="icon"><img src="<%=Whir.ezEIP.Web.SysManagePageBase.Insten.UploadFilePath %><%# Container.DataRow["ImageUrl"].ToReplace() %>" alt='<%# Container.DataRow["Title"].ToReplace() %>'></div>
								</ItemTemplate></wtl:list>
							</div>
							<ul class="ul">
								<wtl:list runat="server"  nulltip="" needpage="false" where="IsDel=0" order="sort asc,createdate asc" categoryid='<%# Container.DataRow["whir_U_content_category_PID"].ToReplace() %>'><ItemTemplate>
								<li>
									<div class="libox">
										<h3 class="h3"><%# Container.DataRow["Title"].ToReplace() %></h3>
										<div class="txt">
											<%# Container.DataRow["BriefIntroduction"].ToReplace() %>
										</div>		
									</div>
								</li>
								</ItemTemplate></wtl:list>							
							</ul>
						</div>
					</ItemTemplate></wtl:Category>
				</div>
				

				<script>
					$(function(){
						$(".wap-items .Item").eq(0).show();
						$('.owl-carousel').owlCarousel({
							center: true,
							loop:true,
							margin:10,
							nav: false,
							items: 1.4,
							onDragged: function(item){
								$(".wap-items .Item").eq(item.page.index).show().siblings().hide();
							}
						})
					})
				</script>
				

				<!-- <div class="wap-top">
					
				</div>
				<div class="MemCon Pfsc">
					
				</div> -->
			</div>

		</div>	
	</div>
</div>

<script>
$(document).ready(function() {
	var carousel = $("#MemberLb").featureCarousel({
		topPadding:0,
		sidePadding:0,
		smallFeatureOffset:10,
		largeFeatureWidth:400,
		smallFeatureWidth:333,
		largeFeatureHeight:240,
		smallFeatureHeight:240,
		autoPlay:false,
		opacitynum:1,
		movedToCenter:function(i){
			var _num=$(i).index();
			$('.MemCon .Item').eq(_num).fadeIn().siblings('.Item').hide();
		}
  });
});
$(function(){
	$(".wap-memberList .wap-top .list").on("click",function(){
		var idx = $(this).index();
		$(".wap-memberList .MemCon .Item").eq(idx).show().siblings().hide();
	})
})
</script>

<!--bottom-->
<wtl:include runat="server"       filename="bottom.html"></wtl:include>
<!--bottom End-->
</body>
</html>